<!DOCTYPE html>
<html lang="en">
<head>
<{include file="public_html/header_tag.html"}>
	<title>题库</title>

</head>
<body>
<div class="wrap">
	<!--star header-->
	<div class="header">
	<{include file="public_html/header_menu.html"}>
	</div>
	<!--end  header-->
	<!--幻灯片 star-->
	<!-- <div class="new_banner">
		<ul class="rslides f1920x400">
			<li style="background-image:url(/static/www/temp/1.jpg);"><a href="javascript:"></a></li>
			<li style="background-image:url(/static/www/temp/1.jpg);"><a href="javascript:"></a></li>
			<li style="background-image:url(/static/www/temp/1.jpg);"><a href="javascript:"></a></li>
		</ul>
		<script type="text/javascript">
		$(function() {
			$(".f1920x400").responsiveSlides({
				auto: true,
				pager: true,
				nav: true,
				speed: 700
			});
		});
		</script>
	</div> -->
	<!--幻灯片 end-->

	<div class="return_nav b-FFFFFF">
		<div class="w1200">
		您的位置：<a href="/topic">题库</a><span>&gt;</span><em><a href="/user/tiku/practice_index/<{$subject_info.id}>"><{$subject_info.title}></a></em><span>&gt;</span><em><{$chapter_action}></em>
		</div>
	</div>
	<!--star main-->
	<div class="wrap_main fix">
		<!--content star-->
		<div class="col_main">
			<!--star在线题库-->
			<{if isset($chapter_list) AND $chapter_list.count > 0}>
			<div class="box_item m-t30 xitongLX">
				<!--left xt_left-->
				<div class="xt_left l">
					<div class="mtcBox">
						<div class="mt tac"><span class="fs18">科目</span></div>
						<div class="mc fix xt_column">
							<ul class="p-lr15 tac">
								<li><a class="curr" href="/user/tiku/practice_index/<{$subject_info.id}>"><{$subject_info.title}></a></li>
							</ul>
						</div>
					</div>
				</div>
				<!--right xt_left-->
				<!--left xt_right-->
				<div class="xt_right r">
					<div class="mtcBox">
						<div class="mt tac"><span class="fs18"><{$chapter_action}></span></div>
						<div class="mc fix xt_wrong_list">
							<{if isset($chapter_list) AND $chapter_list.count > 0}>
							<ul class="fix p-tb20 fs14">
								<{foreach from=$chapter_list.result item=item}>
								<{if $item.parent_id > 0}>
								<li>
									<{if $item.is_chapter == 1}>
										<div class="item l">
											<{if $type == 'list'}>
											<span class="c-999999 r"><{if !empty($item.historys_right_count)}><{($item.historys_right_count / $item.historys_count * 100)|string_format:"%.2f"}><{else}>0<{/if}>%正确率</span>
											<span class="c-999999 r"><{$item.historys_count}>/<{$item.count}>道题，</span> 
											<{else if $type == 'wtopics'}>
											<span class="c-999999 r"><{$item.wrang_count}>道错题</span>
											<{else if $type == 'ntopics'}>
											<span class="c-999999 r"><{$item.right_count}>道题未做</span>
											<{/if}>
											<{$item.ptitle}> <{$item.title}>
										</div>
										<{if $type == 'list'}>
										<a class="btn btn-1aa3fa" href="/user/tiku/start_topic_test/<{$item.id}>/<{$type}>">开始做题</a>
										<{else if $type == 'wtopics'}>
										<a class="btn btn-1aa3fa" href="/user/tiku/start_topic_test/<{$item.id}>/<{$type}>">立即重做</a>
										<{else if $type == 'ntopics'}>
										<a class="btn btn-1aa3fa" href="/user/tiku/start_topic_test/<{$item.id}>/<{$type}>">开始做题</a>
										<{/if}>
									<{/if}>
								</li>
								<{/if}>
								<{/foreach}>
							</ul>
							<{else}>
							<p style="padding-top:100px; font-size:18px; text-align:center">暂无数据</p>
							<{/if}>
						</div>
					</div>
					<div class="pages m-tb40">
					<{$pagination}>
					</div>
				</div>
				<!--right xt_right-->
			</div>
			<{/if}>
			<!--end在线题库-->

		</div>
		<!--content end-->
	</div>
	<!--end  main-->
	<!--star  footer-->
	<div class="footer">
		<{include file="public_html/footer.html"}>
	</div>
	<!--end  footer-->
</div>
</body>
</html>
